package com.nowcoder.community.service;


import com.nowcoder.community.entity.DiscussPost;

import java.util.Map;

/**
 * @author szq
 * @create 2023-02-12 3:12
 * @description
 */
public interface ElasticsearchService {

    void saveDiscussPost(DiscussPost post);

    void deleteDiscussPost(int id);

    Map<String,Object> searchDiscussPost(String keyword, int i, int limit);
}
